<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/5/28
  Time: 15:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查询书籍</title>
</head>
<body>
<form action="/doFindId" method="post">
    <h1>根据ISBN号查找</h1>
    书本ISBN号<input type="text" name="id"><input type="submit" value="查询">
</form>
<form action="/doFind" method="post">
    <h1>条件查询</h1>
    书本ISBN号
    书籍名称：<input type="text" name="name">
    作者：<input type="text" name="editor">
    出版社：<input type="text" name="publish">
        <input type="submit" value="查询">
</form>


<tbody>
<table border="1px">
    <tr>
        <td>ISBN</td>
        <td>书名</td>
        <td>作者</td>
        <td>出版社</td>
    </tr>
    <c:forEach items="${cs}" var="c">
        <tr>
            <td>${c.id}</td>
            <td>${c.name}</td>
            <td>${c.editor}</td>
            <td>${c.publish}</td>
        </tr>
    </c:forEach>
</table>
</tbody>
</body>
</html>
